
float4x4 g_matWorldViewProj;


struct VS_INPUT
{
	float3 pos 		: POSITION;
	float3 normal 	: NORMAL;
	float2 uv1 		: TEXCOORD0;	
	float3 uv2		: TEXCOORD1;
};

struct VS_OUTPUT
{
	float4 pos 		: POSITION;
	float2 uv1 		: TEXCOORD0;	
	float2 uv2		: TEXCOORD1;
	float3 normal 	: TEXCOORD2;
};


VS_OUTPUT main(VS_INPUT vsin)
{
	VS_OUTPUT vsout = (VS_OUTPUT)0;

  	vsout.pos		= mul(float4(vsin.pos.xyz, 1.0f), g_matWorldViewProj);
  	vsout.uv1		= vsin.uv1;
  	vsout.uv2		= vsin.uv2;
  	vsout.normal	= vsin.normal;

	return vsout;
}
